package com.wcy.annotation.pageVo;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//类型为mapping
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface MappingColumn {
    String targetProp() default "";//对应用户id
    String mappingByPropUrl() default "";//对应映射表url的getXXXById
    String mappingListUrl() default "";//对应被映射表url例如xxx/list
    String mappingListProp() default "";//对应被映射对象id
    String mappingListLabel() default "";//对应被映射对象名称
}
